
#include "NavigatorNode.h"

using namespace std;
using namespace ttg;
using namespace ttg_internal::pipeline;

//---------------------
//--- NavigatorNode ---
//---------------------

NavigatorNode *NavigatorNode::find(const char *name)
{
	vector<NavigatorNode *> &en = getIContext().getPipelineEnumeration();
	for (size_t i = 0; i < en.size(); i++)
		if (en[i]->getStringName() == name)
			return en[i];
	return NULL;
}
